package net.caixiaomi.info.model;

import net.caixiaomi.info.base.quickadapter.entity.MultiItemEntity;
import net.caixiaomi.info.util.Constants;

import java.util.List;

/**
 * Created by mengxianzheng on 2018/3/23.
 */

public class OrderInfoItem implements MultiItemEntity {

    /**
     * cathecticResults : [{"cathectics":[{"cathectic":"主胜[1.50]","isGuess":"1"}],"matchResult":"主胜"},{"cathectics":[{"cathectic":"1:0[1.23]","isGuess":"1"},{"cathectic":"1:1[1.32]","isGuess":"0"}],"matchResult":"1:0"}]
     * changci : 周一002
     * match : 坎布尔 VS 埃因FC
     * playType : 胜平负
     */

    private String changci;
    private String match;
    private String playType;
    private String isDan;
    private List<CathecticResultsBean> cathecticResults;
    private int itemType = Constants.ITEM_VIEW_ITEM;

    private String detailType;//0足彩七种玩法1冠军2冠亚军

    public String getDetailType() {
        return detailType;
    }

    public void setDetailType(String detailType) {
        this.detailType = detailType;
    }

    public String getIsDan() {
        return isDan;
    }

    public void setIsDan(String isDan) {
        this.isDan = isDan;
    }

    public String getChangci() {
        return changci;
    }

    public void setChangci(String changci) {
        this.changci = changci;
    }

    public String getMatch() {
        return match;
    }

    public void setMatch(String match) {
        this.match = match;
    }

    public String getPlayType() {
        return playType;
    }

    public void setPlayType(String playType) {
        this.playType = playType;
    }

    public List<CathecticResultsBean> getCathecticResults() {
        return cathecticResults;
    }

    public void setCathecticResults(List<CathecticResultsBean> cathecticResults) {
        this.cathecticResults = cathecticResults;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    @Override
    public int getItemType() {
        return itemType;
    }

    public static class CathecticResultsBean {
        /**
         * cathectics : [{"cathectic":"主胜[1.50]","isGuess":"1"}]
         * matchResult : 主胜
         */

        private String matchResult;
        private String playType;
        private List<CathecticsBean> cathectics;

        public String getPlayType() {
            return playType;
        }

        public void setPlayType(String playType) {
            this.playType = playType;
        }

        public String getMatchResult() {
            return matchResult;
        }

        public void setMatchResult(String matchResult) {
            this.matchResult = matchResult;
        }

        public List<CathecticsBean> getCathectics() {
            return cathectics;
        }

        public void setCathectics(List<CathecticsBean> cathectics) {
            this.cathectics = cathectics;
        }

        public static class CathecticsBean {
            /**
             * cathectic : 主胜[1.50]
             * isGuess : 1
             */

            private String cathectic;
            private String isGuess;

            public String getCathectic() {
                return cathectic;
            }

            public void setCathectic(String cathectic) {
                this.cathectic = cathectic;
            }

            public String getIsGuess() {
                return isGuess;
            }

            public void setIsGuess(String isGuess) {
                this.isGuess = isGuess;
            }
        }
    }
}
